<html>
<head>
    <meta charset='utf-8'>
    <title>web javascript test</title>
    
</head>

<body>
    
    <form>
        
        <button type="button" onclick="alert('Alert!')">Alert!</button>
         
        <button type="button" onclick="native.log('通过这个可以在Xcode里打印js的日志信息')">打印日志</button>

        <button type="button" onclick="viewController.sayGoodbye()">没有被实例化的方法</button>

        <button type="button" onclick="native.callNative('wodemingzi','zzh')">调用本地方法</button>
                
    </form>
    
    
    <script>
        function jsFunction (message){
            alert(message);
        }
        
    </script>
    

</body>
</html>
